package com.gtq.uhome.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@Data
@ApiModel(value = "操作员页面所需字段")
public class Operator {

    @ApiModelProperty(value = "staff表中的员工账号")
    private String staffNumber;

    @ApiModelProperty(value = "staff表中的员工姓名")
    private String staffName;

    @ApiModelProperty(value = "role表中的权限名")
    private String roleName;

    @ApiModelProperty(value = "staff表中的员工密码")
    private String staffPassword;

    @ApiModelProperty(value = "role表中的Id")
    private Integer roleId;

    @ApiModelProperty(value = "staff表中的Id")
    private Integer staffId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "staff_role表中的addTime")
    private Timestamp addTime;

    private String statusCode;

    private String staffPhoneNumber;

    private String vague;

}
